package com.itheima.api.generic.demo02;

import java.util.ArrayList;

public class GenericDemo02 {

    public static void show(int a, int b){

    }

    public static void main(String[] args) {

//        ArrayList<int> arrayList = new ArrayList<int>();
        ArrayList<Integer> arrayList = new ArrayList<Integer>();

        arrayList.add(1);
        arrayList.add(2);
        arrayList.add(3);

        for (Integer i : arrayList){
            System.out.println(i);
        }
    }
}
